if __name__ == '__main__':
    A = float(input("第一门成绩："))
    B = float(input("第二门成绩："))
    C = float(input("第三门成绩："))
    res = (A + B + C) / 3
    print("平均分为：" + str(res))
